formula of sector